package com.google.code.sapwcrawler;

import com.google.code.sapwcrawler.data.BinaryData;
import com.google.code.sapwcrawler.datahandler.CompositeDataHandler;
import com.google.code.sapwcrawler.datahandler.URLFinder;
import com.google.code.sapwcrawler.download.cycle.DownloadCycle;
import com.google.code.sapwcrawler.download.procedure.DownloadProc;
import com.google.code.sapwcrawler.urlfilter.URLFilter;

public class SystemMediator
{
	private Crawler crawler;
	private DownloadProc downloadProc;
	private URLFinder urlFinder;
	private URLFilter urlFilter;
	private CompositeDataHandler<BinaryData> binaryDataHandlers;
	private DownloadCycle downloadCycle;
	private CrawlerConfig config;
	
	public CrawlerConfig getConfig()
	{
		return config;
	}

	public void setConfig(CrawlerConfig config)
	{
		this.config = config;
	}

	public Crawler getCrawler()
	{
		return crawler;
	}
	
	public void setCrawler(Crawler crawler)
	{
		this.crawler = crawler;
	}
	
	public DownloadProc getDownloadProc()
	{
		return downloadProc;
	}
	
	public void setDownloadProc(DownloadProc downloadProc)
	{
		this.downloadProc = downloadProc;
	}
	
	public URLFinder getUrlFinder()
	{
		return urlFinder;
	}
	
	public void setUrlFinder(URLFinder urlFinder)
	{
		this.urlFinder = urlFinder;
	}
	
	public URLFilter getUrlFilter()
	{
		return urlFilter;
	}
	
	public void setUrlFilter(URLFilter urlFilter)
	{
		this.urlFilter = urlFilter;
	}
	
	public CompositeDataHandler<BinaryData> getBinaryDataHandlers()
	{
		return binaryDataHandlers;
	}
	
	public void setBinaryDataHandlers(CompositeDataHandler<BinaryData> binaryDataHandlers)
	{
		this.binaryDataHandlers = binaryDataHandlers;
	}
	
	public DownloadCycle getDownloadCycle()
	{
		return downloadCycle;
	}
	
	public void setDownloadCycle(DownloadCycle downloadCycle)
	{
		this.downloadCycle = downloadCycle;
	}
}
